package com.gitee.shoes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.shoes.enumeration.TradeType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author LYH
 * @since 2020-12-09
 */
@Data
@Accessors(chain = true)
@TableName(value = "pms_product_buy_now")
public class ProductBuyNow {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 对应平台码
     */
    @TableField("productId")
    private Long productId;

    /**
     * 价格
     */
    private String price;

    /**
     * 尺码
     */
    private String size;

    /**
     * 交易类型名称
     */
    private String tradeTypeName;

    /**
     * 交易类型
     */
    private TradeType tradeType;

}
